<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path;
%>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>




<html style="font-size: 66.5333px;">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<title>部门排行</title>
	<link rel="stylesheet" type="text/css" href="<%=path%>/css/aem-h5/aem-h5.css" />
</head>
<body style="overflow:hidden">
<div hidden="" id="servicePath" servicePath="<%=basePath%>"></div>
	<div id="app">
		<div>
			<div class="mint-navbar">
				<a id="one" class="mint-tab-item is-selected">
				    <div class="mint-tab-item-icon"></div>
					<div class="mint-tab-item-label">昨天</div>
				</a> 
				<a id="senven" class="mint-tab-item">
				    <div class="mint-tab-item-icon"></div>
					<div class="mint-tab-item-label">近7天</div>
				</a> 
				<a id="month" class="mint-tab-item">
				    <div class="mint-tab-item-icon"></div>
					<div class="mint-tab-item-label">近30天</div>
				</a> 
				<a id="all" class="mint-tab-item all">
				    <div class="mint-tab-item-icon"></div>
					<div class="mint-tab-item-label">总榜</div>
				</a>
			</div>
			<div class="mint-tab-container">
				<div class="mint-tab-container-wrap">
					<div class="mint-tab-container-item">
						<div class="hero-bg">
							<div class="personal-bg">
								<div style="margin-left:4%">
								   <img style="width:56px;height:56px" alt="" src="">
								</div>
								<div class="title" style="margin-left:4px;margin-top:2px">所在部门</div>
								<div class="name" id="staffName">${requestScope.departmentName}</div>
								<div class="company" id="staffCompany">${requestScope.parentDepartmentName}<span></span>
								</div>
							</div>
							<div class="hero-detail">
								<div class="rank">
									<img
										src=""><a><span class="departmentRankingTip">近1天排名</span><span
										class="number" id="scoreRanking">0</span></a>
								</div>
								<div class="integral">
									<img
										src=""><a>+<span
										class="number" id="depAvgScore">0</span> 积分
									</a>
								</div>
							</div>
							<div class="department-rank-wrap">
								<p class="title">部门排行榜</p>
								<div class="department-list">
								</div>
							</div>
							<ul class="rank-list">
							</ul>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
<script src="<%=path%>/js/dateUtils.js"></script>
<script type="text/javascript" src="<%=path%>/js/marketing/public.js"></script>
<script type="text/javascript" src="<%=path%>/js/aem/client/aem-department-ranking.js"></script>
<script type="text/javascript" src="<%=path%>/js/aem/client/rem.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vConsole/3.2.0/vconsole.min.js"></script>
<script type="text/javascript">
    var accessToken=$.cookie('accessToken');
	$(function() {
		departmentRanking.init(accessToken).currentDepRanking(1);
		departmentRanking.departmentRanking(1,1);  
	});
</script>